package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆租赁信息对象 vehicle_rentals
 * 
 * @author ruoyi
 * @date 2025-04-08
 */
public class VehicleRentals extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long vehicleId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String vehicleName;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 租赁价格 */
    @Excel(name = "租赁价格")
    private BigDecimal vehiclePrice;

    /** 租赁状态 */
    @Excel(name = "租赁状态")
    private String vehicleStatus;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private String vehicleImageUrl;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }

    public void setVehicleName(String vehicleName) 
    {
        this.vehicleName = vehicleName;
    }

    public String getVehicleName() 
    {
        return vehicleName;
    }

    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }

    public void setVehiclePrice(BigDecimal vehiclePrice) 
    {
        this.vehiclePrice = vehiclePrice;
    }

    public BigDecimal getVehiclePrice() 
    {
        return vehiclePrice;
    }

    public void setVehicleStatus(String vehicleStatus) 
    {
        this.vehicleStatus = vehicleStatus;
    }

    public String getVehicleStatus() 
    {
        return vehicleStatus;
    }

    public void setVehicleImageUrl(String vehicleImageUrl) 
    {
        this.vehicleImageUrl = vehicleImageUrl;
    }

    public String getVehicleImageUrl() 
    {
        return vehicleImageUrl;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("vehicleName", getVehicleName())
            .append("vehicleType", getVehicleType())
            .append("vehiclePrice", getVehiclePrice())
            .append("vehicleStatus", getVehicleStatus())
            .append("vehicleImageUrl", getVehicleImageUrl())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
